//
//  CityTableViewCell.m
//  PerfectWorld
//
//  Created by dllo on 16/9/2.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "CityTableViewCell.h"

@implementation CityTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _label = [[UILabel alloc] initWithFrame:CGRectMake(5, 0, self.bounds.size.width, self.bounds.size.height)];
        _label.textColor = [UIColor blackColor];
        [self.contentView addSubview:_label];
    }
    return self;
}
- (void)setAreaList:(AreaList *)areaList {
    _areaList = areaList;
    _label.text = areaList.areaName;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
